﻿function HandleDelete(linkInsideForm) {
    if (confirm("Are you sure you want to delete?")) {
        var DELETE_ACTION = "/Clients/Delete";
        var form = $(linkInsideForm).parents('form:first');
        form.attr("action", DELETE_ACTION);
        return true;
    }
    return false;
}